/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ucm.Controller;

import ucm.model.UCDelete_Model;
import ucm.*;


public class UCDelete_Controller {
        String name;
        String password;

    public UCDelete_Controller(String name, String password) {
        this.name = name;
        this.password = password;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
    public boolean run()
    {
        UCDelete_Model mo = new UCDelete_Model(name, password);
        if ( mo.rundelete())
        {
            return true;
        }
        else
        {
            return false;
        }
    }
}
